<?php


namespace app\api\model;
use think\Model;

class SignIn extends  Model
{
    public static function signin($userId,$scheduleId){
        $data['user_id'] = $userId;
        $data['schedule_id'] = $scheduleId;
        return self::create($data);
    }

    public static function isSignIn($userId,$scheduleId){
        $data['user_id'] = $userId;
        $data['schedule_id'] = $scheduleId;
        return self::create($data);
    }
}